<script setup>
import { useUserStore } from "@/stores/user.js";
import { onLaunch, onShow, onHide, onUnload } from "@dcloudio/uni-app";
const userStore = useUserStore();

onLaunch(() => {
  userStore.getSettingInfo();
});

onShow(() => {});
onHide(() => {});

onUnload(() => {
  if (uni.getStorageSync("redirectUrl")) {
    uni.removeStorageSync("redirectUrl");
  }
});
</script>

<style lang="scss">
// 自定义图标
@import "@/uni_modules/uview-plus/index.scss";
@import "./static/iconfont/iconfont.css";
page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f5f6fa !important;
}
.u-steps {
  justify-content: space-between !important;
  .u-steps-item--row {
    align-items: flex-start !important;
  }
  .u-steps-item__line {
    left: 20rpx !important;
    width: 312rpx !important;
    border: 2rpx solid #a6cbff !important;
  }
  .u-steps-item__wrapper__circle__text {
    display: none !important;
  }
  .u-steps-item {
    flex: unset !important;
  }
  > view:nth-of-type(2) {
    margin-left: 20rpx !important;
  }
  > view:nth-of-type(3) {
    .u-steps-item__wrapper {
      padding-left: 20rpx !important;
      .u-steps-item__content {
        .u-text {
          width: unset !important;
        }
      }
    }
  }
  .u-steps-item__wrapper {
    border-radius: 50% !important;
    background-color: transparent !important;
    width: inherit !important;
    padding-left: 20rpx !important;
    width: unset !important;
  }
  .u-steps-item__wrapper__circle {
    border: 4rpx solid #3889ff !important;
    // background-color: #fff !important;
    border-radius: 50% !important;
  }
  .u-text__value {
    font-family: PingFang SC, PingFang SC;
    font-weight: 400 !important;
    font-size: 28rpx !important;
    color: #909399 !important;
    &.u-text__value--tips {
      font-family: PingFang SC, PingFang SC;
      font-weight: 700 !important;
      font-size: 32rpx !important;
      color: #303133 !important;
      line-height: 56rpx !important;
    }
  }
  .u-icon {
    display: none !important;
  }
}
.u-empty__text {
  margin-top: 6rpx;
  font-weight: 700;
}

.u-tabbar__content__item-wrapper {
  > view:first-child {
    border-right: 2rpx solid #f2f2f2;
  }
}
</style>
